package com.example.musicrecommend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.musicrecommend.model.entity.Comment;
import com.example.musicrecommend.model.vo.CommentVO;

/**
* @author PERSON
* @description 针对表【comment(评论)】的数据库操作Service
* @createDate 2024-10-03 23:26:32
*/
public interface CommentService extends IService<Comment> {

    /**
     * 参数校验
     * @param comment
     */
    void validComment(Comment comment,boolean isAdd);


    Page<CommentVO> selectCommentPageBySongId(Page<CommentVO> page, Long songId);


}
